import axios from "@/api/axios";
export default {
  queryPageByCondition(params){
    return axios.post("/v3/templateTenant/product/queryPageByCondition", {
      ...params,
      organizationNo: sessionStorage.organizationNo,
    });
  },
  queryByCondition(params){
    return axios.post("/v3/templateTenant/product/queryByCondition", {
      ...params,
      organizationNo: sessionStorage.organizationNo,
    });
  },

  add(params){
    return axios.post("/v3/templateTenant/product/add", {
      ...params,
      organizationNo: sessionStorage.organizationNo,
    });
  },

  edit(params){
    return axios.post("/v3/templateTenant/product/edit", params);
  },

  delList(list){
    return axios.post("/v3/templateTenant/product/delListByNo", {
      noList: list,
      organizationNo: sessionStorage.organizationNo,
    });
  }
};
